Pod::Spec.new do |s|
  s.name     = 'WDWorkFlow'
  s.version  = '1.0'
  s.license  = 'MIT'
  s.author   = { "方懿" => "jfang137@163.com" }
  s.source           = { :git => "https://git.oschina.net/jingfu/WDWorkFlow.git", :tag => s.version.to_s }
  s.requires_arc = true
  s.platform     = :ios, '7.0'
#s.source_files = 'WDWorkFlow/**/*.{h,m}'
  s.resources = ["WDWorkFlow/**/*.png", "WDWorkFlow/**/*.xib"]
  s.prefix_header_file = 'WDWorkFlowPrefixHeader.pch'
  s.vendored_frameworks = 'WDWorkFlow/**/FFSecurityKit.framework'



  s.libraries = 'sqlite3'
  s.frameworks = 'UIKit', 'CoreFoundation', 'QuartzCore'

  s.subspec 'Categories' do |ss|
    ss.source_files = 'WDWorkFlow/Categories/**/*'
    ss.public_header_files = 'WDWorkFlow/Categories/**/*.h'
  end

  s.subspec 'DebugOption' do |ss|
    ss.source_files = 'WDWorkFlow/DebugOption/**/*.{h,m}'
    ss.public_header_files = 'WDWorkFlow/DebugOption/**/*.h'
  end

  s.subspec 'EventScheduler' do |ss|
    ss.source_files = 'WDWorkFlow/EventScheduler/**/*'
    ss.public_header_files = 'WDWorkFlow/EventScheduler/**/*.h'
  end

  s.subspec 'OpenUrl' do |ss|
    ss.source_files = 'WDWorkFlow/OpenUrl/**/*'
    ss.public_header_files = 'WDWorkFlow/OpenUrl/**/*.h'
  end

 # s.subspec 'ReactNative' do |ss|
  #  ss.source_files = 'WDWorkFlow/ReactNative/**/*'
   # ss.public_header_files = 'WDWorkFlow/ReactNative/**/*.h'
  #end

  s.subspec 'Template' do |ss|
    ss.source_files = 'WDWorkFlow/Template/**/*'
    ss.public_header_files = 'WDWorkFlow/Template/**/*.h'
  end

  s.subspec 'WDApi' do |ss|
    ss.source_files = 'WDWorkFlow/WDApi/**/*'
    ss.public_header_files = 'WDWorkFlow/WDApi/**/*.h'
  end

  s.subspec 'WDCache' do |ss|
    ss.source_files = 'WDWorkFlow/WDCache/**/*'
    ss.public_header_files = 'WDWorkFlow/WDCache/**/*.h'
  end

  s.subspec 'WDMacro' do |ss|
    ss.source_files = 'WDWorkFlow/WDMacro/**/*'
    ss.public_header_files = 'WDWorkFlow/WDMacro/**/*.h'
  end

  s.subspec 'WDObjEventScheduler' do |ss|
    ss.source_files = 'WDWorkFlow/WDObjEventScheduler/**/*'
    ss.public_header_files = 'WDWorkFlow/WDObjEventScheduler/**/*.h'
  end

  s.subspec 'WDProtocol' do |ss|
    ss.source_files = 'WDWorkFlow/WDProtocol/**/*'
    ss.public_header_files = 'WDWorkFlow/WDProtocol/**/*.h'
  end

end
